//
//  ChannelsViewController.h
//  doubanFun
//
//  Created by bing on 16/3/24.
//  Copyright © 2016年 bing. All rights reserved.
//  作为侧边标签栏

#import <UIKit/UIKit.h>

@class ChannelsViewController;
@protocol ChannelsViewControllerDelegate <NSObject>

@optional
/*!
 *  @brief 选中频道回调,如果选中已经选择的 item 则不会回调
 *
 *  @param viewVC  控制器
 *  @param channel 频道
 *  @param index   行
 */
- (void)viewController:(ChannelsViewController *)viewVC didChannel:(DFChannel *)channel index:(NSIndexPath *)index;

@end

@interface ChannelsViewController : UIViewController
@property (nonatomic, weak) id<ChannelsViewControllerDelegate> delegate;
@end
